package com.truba.ohostouchgallery.GalleryWidget;

import ru.truba.touchgrallery.GalleryWidget.BasePagerAdapter;
import com.truba.ohostouchgallery.Init;

import org.junit.Before;
import org.junit.Test;

import static org.junit.Assert.*;

public class BasePagerAdapterTest {

    private final Init init = new Init();

    private BasePagerAdapter basePagerAdapter;

    @Before
    public void setUp() {

        basePagerAdapter = new BasePagerAdapter(init.mContext, init.getList());

    }

    @Test
    public void getCurrentPosition() {
        assertEquals(-1, basePagerAdapter.getCurrentPosition());
    }
}